//
//  ShopcartSectionHeaderView.h
//  HAHAWENWAN
//
//  Created by 李小龙 on 2017/9/26.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, HeaderClickType) {
    clickTypeSelect,
    clickTypeCheckStore,
    clickTypeEdit,
};

typedef void(^HeaderClickBlock)(HeaderClickType type);

@interface ShopcartSectionHeaderView : UIView

@property (nonatomic, weak) IBOutlet UIView *view;

@property (weak, nonatomic) IBOutlet UIButton *selectButton;
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIButton *editButton;
@property (weak, nonatomic) IBOutlet UIImageView *rightArrowImage;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *iconImageXLayout;
@property (nonatomic, copy) HeaderClickBlock block;

@end
